package com.example.simalaya;

import android.os.Bundle;

import androidx.annotation.Nullable;

import com.example.simalaya.base.BaseActivity;
import com.example.simalaya.presenters.PlayerPresenter;

public class PlayerActivity extends BaseActivity {

    private PlayerPresenter mPlayerPresenter;

    @Override
    protected void onCreate(@Nullable  Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_player);
        mPlayerPresenter = PlayerPresenter.getPlayerPresenter();
    }

    @Override
    protected void onResume() {
        super.onResume();
        mPlayerPresenter.play();
    }
}
